<?php
/**
 * 热门展会
 * User:
 * Date: 2018/3/23
 * Time: 18:25
 */
?>

<?php
if (!empty($hot)) {
?>
<div class="detailMin_box_min_right_list row">
    <?php
    $i = 1;
    foreach ($hot as $val) {
    ?>
    <div class="col-md-6 detailMin_box_min_right_item img">
        <a href="<?=Yii::$app->urlManager->createUrl(['zhanhui/detail','id'=>$val['id']])?>" class="recomemd_icon"><img src="<?= $val['litpic']?>"/></a>
        <a href="<?=Yii::$app->urlManager->createUrl(['zhanhui/detail','id'=>$val['id']])?>" class="t_o_lin"><?=$val['title']?></a>
        <p style="overflow: hidden; white-space: nowrap">地点：<?=$val['city']?></p>
    </div>
    <?php
        if ($i%2 == 0 && $i < count($hot)) {
    ?>
    </div><div class="detailMin_box_min_right_list row">
    <?php
        }
        $i ++;

    }
    ?>
</div>
<?php
}
?>


